package sc
package stud

import java.io.{FileWriter, PrintWriter}
import scala.io.StdIn
object scalaio {
  def main(args: Array[String]): Unit = {
    var writer = new PrintWriter(new FileWriter("scala/data/my.log",true))
    while (false){
      println("请输入你的问题：")
      var str = StdIn.readLine()
      writer.write(str)
      writer.write("\n")
      writer.flush()
    }

  }
}
